# Generated automatically from Makefile.in by configure.

CAMLC=ocamlfind ocamlc
CAMLOPT=ocamlfind ocamlopt
CAMLDEP=ocamlfind ocamldep

WITH_UNIX=unix.cma

COMPFLAGS= 
LINKFLAGS= $(WITH_UNIX) 

all: depend dummy.cma dummy.cmxa

SOURCE= dummy.ml
OBJS=$(SOURCE:.ml=.cmo)

dummy.cma: $(OBJS)
	$(CAMLC) -a -o dummy.cma $(OBJS)

dummy.cmxa: $(OBJS:.cmo=.cmx)
	$(CAMLOPT) -a -o dummy.cmxa $(OBJS:.cmo=.cmx)

install: dummy.cma dummy.cmxa dummy.a dummy.cmi dummy.mli META
	ocamlfind remove example_non_omake
	ocamlfind install example_non_omake dummy.cma dummy.cmxa dummy.a dummy.cmi dummy.mli META

.SUFFIXES:
.SUFFIXES: .ml .mli .cmo .cmi .cmx .mll .mly

.ml.cmo:
	$(CAMLC) -c $(COMPFLAGS) $<

.mli.cmi:
	$(CAMLC) -c $(COMPFLAGS) $<

.ml.cmx:
	$(CAMLOPT) -c $(COMPFLAGS) $<

.mll.cmo:
	$(CAMLLEX) $<
	$(CAMLC) -c $(COMPFLAGS) $*.ml

.mll.cmx:
	$(CAMLLEX) $<
	$(CAMLOPT) -c $(COMPFLAGS) $*.ml

.mly.cmo:
	$(CAMLYACC) $<
	$(CAMLC) -c $(COMPFLAGS) $*.mli
	$(CAMLC) -c $(COMPFLAGS) $*.ml

.mly.cmx:
	$(CAMLYACC) $<
	$(CAMLOPT) -c $(COMPFLAGS) $*.mli
	$(CAMLOPT) -c $(COMPFLAGS) $*.ml

.mly.cmi:
	$(CAMLYACC) $<
	$(CAMLC) -c $(COMPFLAGS) $*.mli

.mll.ml:
	$(CAMLLEX) $<

.mly.ml:
	$(CAMLYACC) $<

clean::
	rm -f *.cm[iox] *~ .*~ *.o

depend:
	$(CAMLDEP) *.mli *.ml > .depend

include .depend
